package com.ecoolex.union.pay.retailer.ws;

import java.util.List;

import com.ecoolex.framework.common.exception.BizException;
import com.ecoolex.framework.common.pojo.Page;
import com.ecoolex.framework.common.pojo.Pagination;
import com.ecoolex.union.pay.retailer.entity.UnionPayAutoReceiveCouponConfig;

public interface UnionPayAutoReceiveCouponConfigService {

	UnionPayAutoReceiveCouponConfig get(Integer configId);
	
	Pagination<UnionPayAutoReceiveCouponConfig> query(String channelId, String couponCode,Page page);
	
	UnionPayAutoReceiveCouponConfig add(UnionPayAutoReceiveCouponConfig add, String createUser) throws BizException;
	
	UnionPayAutoReceiveCouponConfig edit(UnionPayAutoReceiveCouponConfig edit, String updateUser) throws BizException;
	
	Boolean delete(UnionPayAutoReceiveCouponConfig edit, String updateUser) throws BizException;
	
	List<UnionPayAutoReceiveCouponConfig> queryByChannelId(String channelId);
}
